package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 优惠券分类关联
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:35
 */
@TableName("coupon_spu_category_relation")
public class CouponSpuCategoryRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 优惠券id
	 */
	private Long couponId;
	/**
	 * 产品分类id
	 */
	private Long categoryId;
	/**
	 * 产品分类名称
	 */
	private String categoryName;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 优惠券id
	 */
    public void setCouponId(Long couponId){
        this.couponId = couponId;
    }
    /**
	 * get 优惠券id
	 */
    public Long getCouponId(){
        return this.couponId;
    }
	/**
	 * set 产品分类id
	 */
    public void setCategoryId(Long categoryId){
        this.categoryId = categoryId;
    }
    /**
	 * get 产品分类id
	 */
    public Long getCategoryId(){
        return this.categoryId;
    }
	/**
	 * set 产品分类名称
	 */
    public void setCategoryName(String categoryName){
        this.categoryName = categoryName;
    }
    /**
	 * get 产品分类名称
	 */
    public String getCategoryName(){
        return this.categoryName;
    }

}
